﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.IO.Ports;
using System.Management;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.CompilerServices;

public struct SerialStruct
{
    public SerialPort port;
    public string[] name;
    public string nowPort, searchPort;
    public byte[] data;
}

public struct EquipmentStateStruct
{
    public bool PD;
    public string[] PA1, PA2;
    public float[] MaxTemp, FwdPower, RevPower;
    public int[] lastFwdPower, lastRevPower;
    public string fwd_p, rev_p;
}

namespace DebugPorgram
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form());
        }
    }
}
